package com.zhenzhang.myblog.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.util.Date;

@Data
@NoArgsConstructor
public class Reply {
    private Integer id = 0;
    private Integer aid = 0;
    private Integer cid = 0;
    private Integer uid = 0;
    @NotBlank
    private String content = "";
    private Date created_at;
    private Integer likes = 0;
    private String buser = "";
}
